package cn.jjxx.modules.activiti.listener;

import java.util.Date;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

public class SetTaskDueTimeListener  implements TaskListener{

	private static final long serialVersionUID = 8989395256932428120L;

	@Override
	public void notify(DelegateTask delegateTask) {
		delegateTask.setDueDate(new Date());
	}

}
